package com.movitech.mobile.cz.base.supplier.mapper.ext;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.supplier.entity.ext.EvaluationPersonFindRequest;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSEvaluationPerson;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 供方评估--供方评估人员 Mapper 接口
 * </p>
 *
 * @author Blue.Xia
 * @since 2018-03-06
 */
@Component
@Mapper
public interface ExtSEvaluationPersonMapper extends BaseMapper<ExtSEvaluationPerson> {

    List<ExtSEvaluationPerson> findEvaluationPersonList(EvaluationPersonFindRequest evaluationPersonFindRequest);

    List<ExtSEvaluationPerson> findEvaluationPersonTemplateList(Map<String, Object> map);

	int deleteSEvaluationPersonByEvaluationId(@Param("evaluationId") String evaluationId);

	List<ExtSEvaluationPerson> getEvaluationPersonTemplateListByEvaluationId(@Param("evaluationId") String evaluationId);
}
